/* This file is part of Gwt--Calendar.
 * Copyright (C) 2011 Vertix Technologies, ltd.
 *
 * Gwt--Calendar is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * Gwt--Calendar is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Gwt--Calendar.  If not, see <http://www.gnu.org/licenses/>.
 */
package com.vertixtech.gwt.gwtcalendar.shared.domain;

import com.google.web.bindery.requestfactory.shared.ProxyFor;
import com.google.web.bindery.requestfactory.shared.ValueProxy;
import com.vertixtech.gwt.gwtcalendar.server.domain.Reminder;
import com.vertixtech.gwt.gwtcalendar.server.requestFactory.DomainLocator;
import com.vertixtech.gwt.gwtcalendar.shared.enums.ReminderTypes;
import com.vertixtech.gwt.gwtcalendar.shared.enums.UnitTypes;

/**
 * A proxy interface for the @Reminder domain.
 * 
 * @author Asaf Shakarchi
 */
@ProxyFor(value = Reminder.class, locator = DomainLocator.class)
public interface ReminderProxy extends ValueProxy {
	ReminderTypes getReminderType();

	void setReminderType(ReminderTypes newReminderType);

	Integer getUnitAmount();

	void setUnitAmount(Integer newUnitAmount);

	UnitTypes getUnitType();

	void setUnitType(UnitTypes newUnitType);
}
